Repository navigation
ci: pin Integration Test to Temurin 17 - #3780
Merged
Merged
Conversation
ubuntu-latest images now ship JDK 25. Dubbo 3.3.6 JsonUtils throws NoClassDefFoundError for com.alibaba.fastjson.JSONException on that JDK, and the samples Java client then stays up until the 30 minute job timeout. Pin Temurin 17 before the integration script, matching dubbo-go-samples CI. Fixes: apache#3779 Signed-off-by: AsperforMias <asperformias000@outlook.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3780 +/- ##
============================================
+ Coverage 46.76% 57.65% +10.88%
============================================
Files 295 487 +192
Lines 17172 40010 +22838
============================================
+ Hits 8031 23067 +15036
- Misses 8287 15165 +6878
- Partials 854 1778 +924 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
AlexStocks
pushed a commit
that referenced
this pull request
Nov 8, 2026
ubuntu-latest images now ship JDK 25. Dubbo 3.3.6 JsonUtils throws NoClassDefFoundError for com.alibaba.fastjson.JSONException on that JDK, and the samples Java client then stays up until the 30 minute job timeout. Pin Temurin 17 before the integration script, matching dubbo-go-samples CI. Fixes: #3779 Signed-off-by: AsperforMias <asperformias000@outlook.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Fixes #3779
The Integration Test job uses
ubuntu-latestand does not callactions/setup-java. After the hosted image moved fromubuntu-24.04(Temurin 17) toubuntu-26.04(Temurin 25), that job is cancelled attimeout-minutes: 30. The Java client injava_interop/service_discovery/servicethrowsNoClassDefFoundError: com/alibaba/fastjson/JSONExceptionfrom Dubbo 3.3.6JsonUtils.loadExtensions(hasNext()is outside thetry) andmvn exec:javadoes not return.This pull request adds
actions/setup-java@v4(temurin,17,cache: maven) to that job only, before./integrate_test.sh. The step matches dubbo-go-samples CI.cache: mavenis safe here becausedevelopcontainstools/benchmark/server/dubbo-java/pom.xml, sosetup-javahas a pom to hash. The Unit Test job is unchanged and still uses Temurin 8 for the ZooKeeper fatjar. No Go source is changed. Release artifacts are unchanged.Severity: CI blocker for Integration Test on every pull request since the image move. It is not a user-runtime bug and not a release-artifact bug.
Impact:
Image: ubuntu-24.04,java.home=/usr/lib/jvm/temurin-17-jdk-amd64, Maven 3.10.0). The service sample printedGreeting:Mamba!!!!!!!!!!!!at09:07:29Zand> okat09:08:35Z.Image: ubuntu-26.04,java.home=/usr/lib/jvm/temurin-25-jdk-amd64, Maven 3.9.15,Thread.java:1474). Error at05:19:28Z,##[error]The operation was canceledat05:28:40Z.917f692fand8ff7866c) differ only in.github/workflows/tools.yml.Root cause and the non-exiting client are written up in #3779. apache/dubbo#15754 fixes
JsonUtilson branch3.3and is not in the 3.3.6 release. Maven Centralorg.apache.dubbo:dubbolatest is still 3.3.6, so the samples pom has no fixed version to move to. This repository should pin the JDK the samples were green on.Why not dubbo-go-samples: that repository's CI already pins Temurin 17. This job never calls
setup-java, so it keeps the image JDK. Changing samples would not select the JDK for this job.This is separate from the Go 1.27 leak.
apache/skywalking-eyes/header@main(7f98a36a) setsgo-version: "1.27", and in this repository that action is only the Check License Header job. On run 40082838939 that job logsgo version go1.27.3, while Integration Test logsSetup go version spec 1.25.0andgo version go1.25.0. The jsonrpc crash under encoding/json v2 is #3777 / #3778. It did not cancel these Integration Test jobs.Merge order:
setup-java. fix(jsonrpc): avoid infinite recursion in serverRequest.UnmarshalJSON under encoding/json v2 #3778 needs a new run after this change is ondevelop(update the branch). Its Integration Test failure is this JDK 25 cancel. That job's Go is 1.25.0, and its Unit Test job already succeeded.go1.25.0at "Check tool versions",go1.27.3inside "Check license header", and then the jsonrpc server refuses connections. samples CI already has Temurin 17, so that failure is the Go 1.27 leak, not JDK 25.make fmt,make test, and a new Go test are not run. The diff is this workflow file only. The check that this pin works is the Integration Test job on this pull request.Checklist
developmake fmtto format my codemake testto run local tests